<%@ Page Language="C#" AutoEventWireup="true" ContentType="text/xml" MaintainScrollPositionOnPostback="false"
    EnableTheming="false" CodeFile="RecentlyAddedProductsRSS.aspx.cs" Inherits="Tathata.Web.RecentlyAddedProductsRSSPage" %>

<head id="Head1" runat="server" visible="false">
</head>
<asp:repeater id="rptrRecentlyAddedProducts" runat="server">
    <HeaderTemplate>
        <rss version="2.0">
         <channel>
            <title><![CDATA[<%# SettingManager.GetSettingValue("Common.StoreName")%>: Recently added products]]></title>
            <link><%# CommonHelper.GetStoreHTTPLocation(false)%></link>
            <description><%# SettingManager.GetSettingValue("Common.StoreName")%></description>
            <copyright>Copyright 2008 by <%# SettingManager.GetSettingValue("Common.StoreName")%></copyright>
    </HeaderTemplate>
    <ItemTemplate>
        <item>
         <title><![CDATA[<%# Eval("Name") %>]]></title>
         <author><![CDATA[<%# SettingManager.GetSettingValue("Common.StoreName")%>]]></author>
         <description><![CDATA[<%# Eval("ShortDescription") %>]]></description>
         <link><![CDATA[<%# SEOHelper.GetProductURL(Convert.ToInt32(Eval("ProductID"))) %>]]></link>
         <pubDate><%# string.Format("{0:R}", Eval("CreatedOn"))%></pubDate>
      </item>
    </ItemTemplate>
    <FooterTemplate>
        </channel> </rss>
    </FooterTemplate>    
</asp:repeater>
